/*	
	ECCM1.h
	(c)2004 Palestar, Richard Lyle
*/

#ifndef ECCM1_H
#define ECCM1_H

#include "Game/GadgetECCM.h"



//----------------------------------------------------------------------------

class ECCM1 : public GadgetECCM
{
public:
	DECLARE_WIDGET_CLASS();

	// NounGadget interface
	int	maxDamage() const
	{
		return 750;
	}
	Type type() const
	{
		return SPECIAL_OFFENSIVE;
	}
	int	addValue() const
	{
		return 900;
	}
	int buildTechnology() const
	{
		return 15;
	}
	int	buildCost() const
	{
		return 65;
	}
	dword buildFlags() const
	{
		return NounPlanet::FLAG_METALS;
	}
	int	buildTime() const
	{
		return 70;
	}
	// GadgetECM interface
	int	energyCost() const
	{
		return 1;
	}
	float strength() const
	{
		return 1.5f;
	}
	float range() const
	{
		return 300.0f + (level() * 30);
	}
	int cooldown() const
	{
		return 9 * TICKS_PER_SECOND;
	}
};

//----------------------------------------------------------------------------



#endif

//----------------------------------------------------------------------------
// EOF
